package hibernate.method.interfaces;

import hibernate.model.TableEntity;

import java.util.List;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

public interface TableEntityMethodsInterface {

	public List<TableEntity> listAllTable(SessionFactory sessionFactory, Session session);
	
	public void addTable (SessionFactory sessionFactory, Session session, int local_id, String value, String label, int persons, String smoking);
	
	public List<TableEntity> listTablesByLocalId (SessionFactory sessionFactory, Session session, int local_id);
	
	public TableEntity getTableById (SessionFactory sessionFactory, Session session, int table_id);
}
